package com.baizhi.springboot.service;

import com.baizhi.springboot.entity.Admin;

public interface AdminService {
    Admin login(Admin admin);
    /**
     * 根据名字查询
     * @param username
     * @return
     */
    Admin selectByName(String username);
}
